//
//  CircleImage.swift
//  car
//
//  Created by 范俊伟 on 2024/1/11.
//

import SwiftUI

struct CircleImage: View {
    var width:CGFloat = 50.0;
    var body: some View {
        Image("test")
            .frame(width: self.width, height: self.width)
            .clipShape(Circle())
            .overlay(Circle().stroke(Color.white, lineWidth: 4))
            .shadow(radius: 10)
    }
}

#Preview {
    CircleImage()
}
